﻿define(['lib/knockout-2.3.0', 'utility/navigator'], function (ko, navigator) {
    var _userId = ko.observable(''),
        _password = ko.observable(''),
        _login = function () {
            alert(_userId() + ', ' + _password());
            var x = navigator.menu();
            alert(navigator.menu().push({ Title: 'Home', Link: 'home.html' }));
        };
    return {
        userId: _userId,
        password: _password,
        login: _login
    };
});